package com.xmy.cultivate.mapper;

import com.xmy.cultivate.entity.SenateDepart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 积分部门 Mapper 接口
 * </p>
 *
 * @author hpiggy
 * @since 2025-04-17
 */
public interface SenateDepartMapper extends BaseMapper<SenateDepart> {

    @Select("select GROUP_CONCAT(id) as id from senate_depart where status = 1")
    public String getSenateDepartIdStr();

}
